// PartFormat.h: interface for the PartFormat class.
//
//////////////////////////////////////////////////////////////////////

#if !defined(AFX_PARTFORMAT_H__3C74DEFB_C353_49E8_B064_5A02231B4173__INCLUDED_)
#define AFX_PARTFORMAT_H__3C74DEFB_C353_49E8_B064_5A02231B4173__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

#include "PartFormatManager.h"

namespace JointSystem
{
class PartFormatID
{
public:
	PartFormatID() : m_pcid( 0 ) {}
	~PartFormatID() {}
	PartFormatID( CString* pcid, const CString& pfid ) : m_pcid( pcid ), m_pfid( pfid ) {}
	const CString& CatalogID() const { return *m_pcid; }
	const CString& ID() const { return m_pfid; }
	void CatalogID( CString* pcid ) { m_pcid = pcid; }
	void ID( const CString& pfid ) { m_pfid = pfid; }

private:
	CString* m_pcid;
	CString m_pfid;
};

};

#endif // !defined(AFX_PARTFORMAT_H__3C74DEFB_C353_49E8_B064_5A02231B4173__INCLUDED_)
